﻿#region

using System.Data.Entity.ModelConfiguration;
using HouseHoldBudget.Core.Entities.User;

#endregion

namespace HouseHoldBudget.Data.Mapping.Users
{
    public class BudgetUserRoleMap : EntityTypeConfiguration<BudgetUserRole>
    {
        #region Constructors

        public BudgetUserRoleMap()
        {
            ToTable("BudgetUserRole");
            HasKey(c => c.Id);

            Property(u => u.Name);
            Property(u => u.Role);

        }

        #endregion
    }
}